package com.diankangwo.service;

import com.diankangwo.domain.RefundMoney;

import java.util.List;

/**
 * 退费业务接口类
 * 
 * @author xiaoyu
 *
 */
public interface RefundMoneyService extends BaseService<RefundMoney> {

	/**
	 * 查询所有退费记录
	 * 
	 * @return 退费记录集合
	 */
	public List<RefundMoney> findAll();

	/**
	 * 按条件查询退费记录
	 * 
	 * @param re
	 * @return 一天记录
	 */
	public List<RefundMoney> findByCondition(RefundMoney re);

	/**
	 * 按条件查询退费记录
	 * 
	 * @return 退费记录对象
	 */
	public RefundMoney findById(int id);

	/**
	 * 添加、更新退费记录
	 * 
	 * @param re
	 * @return 是否成功
	 */
	public boolean insertOrUpdateRefunMoney(RefundMoney re);

	/**
	 * 删除退费记录
	 * 
	 * @param re
	 * @return 是否成功
	 */
	public boolean deleteRefunMoney(RefundMoney re);

}
